package com.huawei.hms.support.api.iap.json;

import android.app.Activity;
import android.content.Context;
import com.huawei.hms.utils.Checker;

public class Iap {
    private Iap() {
    }

    public static IapClient getIapClient(Activity activity) {
        Checker.assertNonNull(activity);
        return new IapClientImpl(activity);
    }

    public static IapClient getIapClient(Context context) {
        Checker.assertNonNull(context);
        return new IapClientImpl(context);
    }
}
